package com.grandtech.insurance.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 
 * 农业担保客户信息表
 */
public class DbKhxx implements Serializable {
    /**
     * 主键id
     */
    private String id;

    /**
     * 区划代码
     */
    private String qhdm;

    /**
     * 区划名称
     */
    private String qhmc;

    /**
     * 客户姓名
     */
    private String name;

    /**
     * 身份证号
     */
    private String idcode;

    /**
     * 是否已婚1已婚0未婚
     */
    private String ifMarried;

    /**
     * 新农主题类型
     */
    private String xnzttype;
    private String xnzt;

    /**
     * 创建时间
     */
    private Date createTime;
    private Date sbTime;
    private String createTime1;
    private String sbTime1;

    /**
     * 项目编码
     */
    private String xmbm;

    /**
     * 状态1保存2提交
     */
    private Integer state;

    /**
     * 年份
     */
    private String nf;

    private String text;
    private String zytype;

    private Integer yzstate;

    private BigDecimal yz;

    private String shape;

    private String poname;
    private String poidcode;

    private Integer f;

    private String idcodemd5;

    private int yz1;

    private int biaoshi;

    public int getBiaoshi() {
        return biaoshi;
    }

    public void setBiaoshi(int biaoshi) {
        this.biaoshi = biaoshi;
    }

    /**
     * 姓名
     */
    private String gxname;

    /**
     * 证件号码
     */
    private String gxidCode;

    public String getCreateTime1() {
        return createTime1;
    }

    public void setCreateTime1(String createTime1) {
        this.createTime1 = createTime1;
    }

    public String getSbTime1() {
        return sbTime1;
    }

    public void setSbTime1(String sbTime1) {
        this.sbTime1 = sbTime1;
    }

    public String getGxname() {
        return gxname;
    }

    public void setGxname(String gxname) {
        this.gxname = gxname;
    }

    public String getGxidCode() {
        return gxidCode;
    }

    public void setGxidCode(String gxidCode) {
        this.gxidCode = gxidCode;
    }

    public int getYz1() {
        return yz1;
    }

    public void setYz1(int yz1) {
        this.yz1 = yz1;
    }

    public String getIdcodemd5() {
        return idcodemd5;
    }

    public void setIdcodemd5(String idcodemd5) {
        this.idcodemd5 = idcodemd5;
    }

    public Integer getF() {
        return f;
    }

    public void setF(Integer f) {
        this.f = f;
    }

    public String getPoname() {
        return poname;
    }

    public void setPoname(String poname) {
        this.poname = poname;
    }

    public String getPoidcode() {
        return poidcode;
    }

    public void setPoidcode(String poidcode) {
        this.poidcode = poidcode;
    }

    public String getShape() {
        return shape;
    }

    public void setShape(String shape) {
        this.shape = shape;
    }

    public BigDecimal getYz() {
        return yz;
    }

    public void setYz(BigDecimal yz) {
        this.yz = yz;
    }

    public Integer getYzstate() {
        return yzstate;
    }

    public void setYzstate(Integer yzstate) {
        this.yzstate = yzstate;
    }

    public Date getSbTime() {
        return sbTime;
    }

    public void setSbTime(Date sbTime) {
        this.sbTime = sbTime;
    }

    public String getZytype() {
        return zytype;
    }

    public void setZytype(String zytype) {
        this.zytype = zytype;
    }

    public String getXnzt() {
        return xnzt;
    }

    public void setXnzt(String xnzt) {
        this.xnzt = xnzt;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getQhdm() {
        return qhdm;
    }

    public void setQhdm(String qhdm) {
        this.qhdm = qhdm;
    }

    public String getQhmc() {
        return qhmc;
    }

    public void setQhmc(String qhmc) {
        this.qhmc = qhmc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcode() {
        return idcode;
    }

    public void setIdcode(String idcode) {
        this.idcode = idcode;
    }

    public String getIfMarried() {
        return ifMarried;
    }

    public void setIfMarried(String ifMarried) {
        this.ifMarried = ifMarried;
    }

    public String getXnzttype() {
        return xnzttype;
    }

    public void setXnzttype(String xnzttype) {
        this.xnzttype = xnzttype;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getXmbm() {
        return xmbm;
    }

    public void setXmbm(String xmbm) {
        this.xmbm = xmbm;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getNf() {
        return nf;
    }

    public void setNf(String nf) {
        this.nf = nf;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        DbKhxx other = (DbKhxx) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getQhdm() == null ? other.getQhdm() == null : this.getQhdm().equals(other.getQhdm()))
            && (this.getQhmc() == null ? other.getQhmc() == null : this.getQhmc().equals(other.getQhmc()))
            && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
            && (this.getIdcode() == null ? other.getIdcode() == null : this.getIdcode().equals(other.getIdcode()))
            && (this.getIfMarried() == null ? other.getIfMarried() == null : this.getIfMarried().equals(other.getIfMarried()))
            && (this.getXnzttype() == null ? other.getXnzttype() == null : this.getXnzttype().equals(other.getXnzttype()))
            && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
            && (this.getXmbm() == null ? other.getXmbm() == null : this.getXmbm().equals(other.getXmbm()))
            && (this.getState() == null ? other.getState() == null : this.getState().equals(other.getState()))
            && (this.getNf() == null ? other.getNf() == null : this.getNf().equals(other.getNf()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getQhdm() == null) ? 0 : getQhdm().hashCode());
        result = prime * result + ((getQhmc() == null) ? 0 : getQhmc().hashCode());
        result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
        result = prime * result + ((getIdcode() == null) ? 0 : getIdcode().hashCode());
        result = prime * result + ((getIfMarried() == null) ? 0 : getIfMarried().hashCode());
        result = prime * result + ((getXnzttype() == null) ? 0 : getXnzttype().hashCode());
        result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
        result = prime * result + ((getXmbm() == null) ? 0 : getXmbm().hashCode());
        result = prime * result + ((getState() == null) ? 0 : getState().hashCode());
        result = prime * result + ((getNf() == null) ? 0 : getNf().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", qhdm=").append(qhdm);
        sb.append(", qhmc=").append(qhmc);
        sb.append(", name=").append(name);
        sb.append(", idcode=").append(idcode);
        sb.append(", ifMarried=").append(ifMarried);
        sb.append(", xnzttype=").append(xnzttype);
        sb.append(", createTime=").append(createTime);
        sb.append(", xmbm=").append(xmbm);
        sb.append(", state=").append(state);
        sb.append(", nf=").append(nf);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}